/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.AttributeManager;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels.WorkforceManagement
{
    /// <summary>
    /// 班组表
    /// </summary>
    [Table("Team")]
    public class Team
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        [Column("Id")]
        [Display(Name = "ID")]
        public int Id { get; set; }

        /// <summary>
        /// 班组编码
        /// </summary>
        [Column("TeamCode")]
        [Display(Name = "班组编码")]
        [StringLength(20)]
        public string TeamCode { get; set; }

        /// <summary>
        /// 班组名称
        /// </summary>
        [Column("TeamName")]
        [Display(Name = "班组名称")]
        [StringLength(20)]
        public string TeamName { get; set; }

        /// <summary>
        /// 班组类型
        /// </summary>
        [Column("TeamType")]
        [Display(Name = "班组类型")]
        [StringLength(20)]
        public string TeamType { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Column("Remark")]
        [Display(Name = "备注")]
        [StringLength(20)]
        public string Remark { get; set; }
    }
}